package com.zryc.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 供应商信息表
 * </p>
 *
 * @author xujiajun
 * @since 2022-10-17
 */
@TableName("supplier_info")
@ApiModel(value = "SupplierInfo对象", description = "供应商信息表")
public class SupplierInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("供应商ID")
    @TableId(value = "supplier_id", type = IdType.AUTO)
    private Integer supplierId;

    @ApiModelProperty("供应商编码")
    private String supplierCode;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("供应商类型：1.自营，2.平台")
    private Byte supplierType;

    @ApiModelProperty("供应商联系人")
    private String linkMan;

    @ApiModelProperty("联系电话")
    private String phoneNumber;

    @ApiModelProperty("供应商地址")
    private String address;

    @ApiModelProperty("状态：0禁止，1启用")
    private Byte supplierStatus;

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Byte getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(Byte supplierType) {
        this.supplierType = supplierType;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Byte getSupplierStatus() {
        return supplierStatus;
    }

    public void setSupplierStatus(Byte supplierStatus) {
        this.supplierStatus = supplierStatus;
    }

    @Override
    public String toString() {
        return "SupplierInfo{" +
            "supplierId = " + supplierId +
            ", supplierCode = " + supplierCode +
            ", supplierName = " + supplierName +
            ", supplierType = " + supplierType +
            ", linkMan = " + linkMan +
            ", phoneNumber = " + phoneNumber +
            ", address = " + address +
            ", supplierStatus = " + supplierStatus +
        "}";
    }
}
